package com.qf.strategy;

import com.qf.strategy.mq.ReceiveFilterChangeService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author 徐老板
 * @date 2020/2/27   10:53
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ServletComponentScan
@EnableBinding(ReceiveFilterChangeService.class)
//@EnableHystrix
public class StrategyStarter {
    public static void main(String[] args) {
        SpringApplication.run(StrategyStarter.class,args);
    }
}
